﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DataAccess;

namespace Bussiness {
    public class BrokerBuss {
        public DataTable getBroker() {
            BrokerRepository repository = new BrokerRepository();
            return repository.getBroker();
        }

        public int update(String name, String info, String wsName, String linkWS, String pvdID, String pvdPwd, String creditCardNumber) {
            BrokerRepository repository = new BrokerRepository();
            return repository.update(name, info, wsName, linkWS, pvdID, pvdID, creditCardNumber);
        }
    }
}
